<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:cc="http://java.sun.com/jsf/composite"
      xmlns:h="http://java.sun.com/jsf/html">

  <cc:interface />

  <cc:implementation>
    <div id="languageSelectorPanel">
      <h:form>
        <h:outputText value="#{message['languageSelector.caption']}"/>
        <h:commandLink action="#{languageSelector.changeLanguageTo('de')}">
          <h:graphicImage value="img/de.gif" 
                          title="#{message['languageSelector.de.flagTitle']}" />
        </h:commandLink>

        <h:commandLink action="#{languageSelector.changeLanguageTo('en')}">
          <h:graphicImage value="img/gb.gif"
                          title="#{message['languageSelector.en.flagTitle']}" />
        </h:commandLink>

        <h:commandLink action="#{languageSelector.changeLanguageTo('fr')}">
          <h:graphicImage value="img/fr.gif"
                          title="#{message['languageSelector.fr.flagTitle']}" />
        </h:commandLink>
      </h:form>
    </div>
  </cc:implementation>
</html>


